package com.ctshk.rpc.train.req.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 火车产品缓存更新req参数
 * </p>
 *
 * @author lys
 * @since 2021-03-11
 */
@Data
@ApiModel(value="TrainProductCacheUpdateReq对象", description="火车产品缓存更新req参数")
public class TrainProductCacheUpdateReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品id列表")
    private List<Long> ids;

    @ApiModelProperty(value = "上次更新时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "当前时间")
    private LocalDateTime localTime;

}
